package com.zrf.pojo;

import java.sql.Timestamp;

/**
 * Flow entity. @author MyEclipse Persistence Tools
 */

public class Flow implements java.io.Serializable {

	// Fields

	private Integer fid;
	private Person person;
	private Leave leave;
	private Timestamp fdate;
	private Integer fstate;

	// Constructors

	/** default constructor */
	public Flow() {
	}

	/** full constructor */
	public Flow(Person person, Leave leave, Timestamp fdate, Integer fstate) {
		this.person = person;
		this.leave = leave;
		this.fdate = fdate;
		this.fstate = fstate;
	}

	// Property accessors

	public Integer getFid() {
		return this.fid;
	}

	public void setFid(Integer fid) {
		this.fid = fid;
	}

	public Person getPerson() {
		return this.person;
	}

	public void setPerson(Person person) {
		this.person = person;
	}

	public Leave getLeave() {
		return this.leave;
	}

	public void setLeave(Leave leave) {
		this.leave = leave;
	}

	public Timestamp getFdate() {
		return this.fdate;
	}

	public void setFdate(Timestamp fdate) {
		this.fdate = fdate;
	}

	public Integer getFstate() {
		return this.fstate;
	}

	public void setFstate(Integer fstate) {
		this.fstate = fstate;
	}

}